/*接口*/
import request from "../request";
import config from "../config";

/**
 * 获取工抵房列表
 */
export function getGdfList(data,success,fail) {
	return request({
		url: config.api + '/gdf/gdfinfo/list',
		method: 'get',
		data,
		success,
		fail
	})
}

/**
 * 获取工抵房详情
 */
export function getGdf(data,success,fail) {
	return request({
		url: config.api + '/gdf/gdfinfo/'+data.id,
		method: 'get',
		data,
		success,
		fail
	})
}

/**
 * 获取工抵房城市列表
 */
export function getGdfCity(data,success,fail) {
	return request({
		url: config.api + '/gdf/gdfinfo/allCity',
		method: 'get',
		data,
		success,
		fail
	})
}
